package com.ruoyi.business.appuser.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.business.appuser.entity.Device;
import com.ruoyi.business.appuser.vo.DeviceVo;
import com.ruoyi.common.core.page.TableDataInfo;

import java.util.List;

/**
 * 【请填写功能名称】Service接口
 *
 * @author Tellsea
 * @date 2025-05-22
 */
public interface IDeviceService extends IService<Device> {

    /**
     * 分页查询
     *
     * @param entity
     * @return
     */
    TableDataInfo<DeviceVo> queryList(DeviceVo entity);

    /**
     * 查询全部
     *
     * @param entity
     * @return
     */
    List<DeviceVo> queryAll(DeviceVo entity);

    /**
     * 根据ID查询
     *
     * @param deviceId
     * @return
     */
    DeviceVo queryById(Long deviceId);

    void updateStatus(Device device);

    List<DeviceVo> queryByDeviceName(String deviceName);
}
